class CreatePriceListAndPhotoSizeRelation < ActiveRecord::Migration
  def self.up
    add_column    :photo_sizes, :price_list_id, :integer
    remove_column :photo_sizes, :for_sports_gallery
    remove_column :photo_sizes, :for_purchase_gallery
  end

  def self.down
    remove_column :photo_sizes, :price_list_id
    add_column    :photo_sizes, :for_sports_gallery,    :integer
    add_column    :photo_sizes, :for_purchase_gallery,  :integer
  end
end
